package com.obggtc.picture.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云通译AI配置类
 * 
 * @author system
 * @date 2025/09/29
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.ai")
public class AliyunAiConfig {
    
    /**
     * 阿里云Access Key ID
     */
    private String accessKeyId;
    
    /**
     * 阿里云Access Key Secret
     */
    private String accessKeySecret;
    
    /**
     * API端点
     */
    private String endpoint = "dashscope.aliyuncs.com";
    
    /**
     * 默认模型
     */
    private String model = "qwen-turbo";
    
    /**
     * 超时时间(毫秒)
     */
    private Integer timeout = 30000;
    
    /**
     * 重试次数
     */
    private Integer retryCount = 3;
}
